<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>COOPIP Search In Meters</title>
    <link rel="stylesheet" type="text/css" href="/style.css" />
  </head>
<body style="background-image:url('/intranetbackgroundimages/{{DepartmentBackgroundImage}}');background-size: 100%;background-color:rgb(210,210,250);background-repeat: no-repeat;">
<b>{{LoginStatus}}</b>   &nbsp&nbsp&nbsp&nbsp <small><a href="/coopip/">Main Menu</a></small><br>

<div id="searchinmeters_wrap">
<div id="searchinmeters_left">
<form method="post" action=""     >
<small><a href="/coopip/revenueprotection/searchinmeters/log/">Logs</a></small><br>

<ul>
<li>Enter meter numbers, one per line.</li>
<li>Default search is for all substations.  Adding a name limits the search to that substation only.</li>
<li>Default priority for searches is 0.  Positive numbers increase importance.</li>
<li>Highest search priority is currently <b>{{HighestPriorityLevel}}</b>.</li>
<li>Lowest search priority is currently <b>{{LowestPriorityLevel}}</b>.</li>
<li>Enter a higher value to jump to the top of the queue.</li>
<li><b>Sample:</b></li>
<li>845687551</li>
<li>845687551:Hammonds</li>
</ul>

<ul>
<li class="horizontal"> <input type="submit" /></li><li class="horizontal">Update:{{form.UpdateIndicator}}</li><li class="horizontal">Priority:{{form.PriorityLevel}}</li>
</ul>
{{form.MeterString}}<br>
<ul>
    <li>Wipe AMR Queue:{{form.ClearAMRQueueIndicator}}</li>
    <li>Show All Results:{{form.DisplayUnlimitedIndicator}}</li>
</ul>
</form>
<table>
    {%for heading in SummaryHeadings%}
        <th>{{heading}}</th>
    {%endfor%}
    <tr>
    {%for entry in SummaryReport%}
        <td class="summary">{{entry}}</td>
    {%endfor%}
    </tr>
</table>
<br><br>

<h2>Meters Added</h2>
<table>
    <tr><th>Serial #</th><th>Substation</th><th>Priority</th><th>Completed</th><th>Time Elapsed</th><th>Raw Data</th></tr>
    {%for row in AddedMeterReport%}
        <tr>
        {%for entry in row%}
            <td>{{entry}}</td>
        {%endfor%}
        </tr>
    {%endfor%}
</table>
<br>
<h2> Meters Completed But Not Found</h2>
<table>
    <tr><th>Serial#</th><th># Substations</th><th>Priority</th><th>Completed</th></tr>
    {%for row in FailedMeterReport%}
        <tr>
        {%for entry in row%}
            <td>{{entry}}</td>
        {%endfor%}
        </tr>
    {%endfor%}
</table>
<br><br>


<h2>Meters Researched</h2>
<table>
    <tr><th>Serial #</th><th>Substation</th><th>Completed</th><th>Time Elapsed</th></tr>
    {%for row in ResearchedMeterReport%}
        <tr>
        {%for entry in row%}
            <td>{{entry}}</td>
        {%endfor%}
        </tr>
    {%endfor%}
</table>
<br>
<table>
<tr><th>Substation</th><th>Searches</th></tr>
{%for row in MeterSpeedBySubstationReport%}
    <tr>
    {%for entry in row%}
    {% if forloop.first %}
            <td>{{entry}}</td>
        {% else %}
            <td style="text-align:right;">{{entry}}</td>
        {%endif%}
    {%endfor%}
    </tr>
{%endfor%}
</table>


</div>


<div id="searchinmeters_right">
<table>
    {%for heading in SubstationHeadings%}
        <th>{{heading}}</th>
    {%endfor%}
    {%for row in SubstationReport%}
        <tr>
        {%for entry in row%}
            <td class="summary">{{entry}}</td>
        {%endfor%}
        </tr>
    {%endfor%}
</table>
<br>
<h2>Searches Out To AMR</h2>
<table>
    <tr><th>Serial#</th><th>Substation</th><th>Priority</th><th>Time Elapsed</th></tr>
    {%for row in SearchesOutToAMRReport%}
        <tr>
        {%for entry in row%}
            <td>{{entry}}</td>
        {%endfor%}
        </tr>
    {%endfor%}
</table>
<br><br>


</div>
</div>
</body>
</html>
